﻿using AutoMapper;
using User.Entity.Entities;
using User.IServices.Dto;

namespace User.Services
{
    /// <summary>
    /// 实体与视图映射
    /// </summary>
    public class UserMapperProfile : Profile
    {
        public UserMapperProfile()
        {
            CreateMap<UserInfo, UserInfoDto>().ReverseMap();
            CreateMap<UserInfo, UserRegisterDto>().ReverseMap();
        }
    }
}
